package com.myapp.myhome.adapter;


import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;

public class HomeGridAdapter extends BaseAdapter {

	LayoutInflater layout;

	String[] strs = { "添加数据", "查询数据","添加数据", "查询数据","添加数据", "查询数据" };

	public HomeGridAdapter(Context context) {
		layout = LayoutInflater.from(context);

	}

	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return 6;
	}

	@Override
	public Object getItem(int position) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public long getItemId(int position) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		// TODO Auto-generated method stub
		if (convertView == null) {
		}
		return convertView;
	}

	class ViewHolder {
		TextView menu_text;
		ImageView menu_icon;

		public ViewHolder(View view) {

		}
	}

}
